package main.controller;

import main.GlobalConfig;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class LoginPageController {
    @GetMapping("/login")
    public String admin(ModelMap modelMap) {
        modelMap.put("siteName", GlobalConfig.siteName);
        return "loginPage";
    }
}
